﻿<%@ Page Title="" Language="C#" MasterPageFile="~/Police/Police.master" AutoEventWireup="true"
    StylesheetTheme="Content" CodeFile="QuestionList2.aspx.cs" Inherits="Police_Question_QuestionList2" %>

<%@ Register Src="../../UserContral/ListPageContral.ascx" TagName="ListPageContral"
    TagPrefix="uc1" %>
<asp:Content ID="Content1" ContentPlaceHolderID="head" runat="Server">
</asp:Content>
<asp:Content ID="Content2" ContentPlaceHolderID="ContentPlaceHolder1" runat="Server">
    <ul class="topmenu">
    <li>
    
        <asp:RadioButton ID="rBtnSoldier" AutoPostBack="true" runat="server" Text="中队官兵" 
            GroupName="t" oncheckedchanged="rBtnSoldier_CheckedChanged" />
        <asp:RadioButton ID="rBtnCadre"  Checked="true"  runat="server" Text="大队警官" 
            GroupName="t"  />
    
    </li>
        <li>标题：<asp:TextBox ID="txtTitle" runat="server" Width="260px"></asp:TextBox>
        </li>
        <li>
            <asp:LinkButton ID="lBtnQuery" runat="server" Text="查询" OnClick="lBtnQuery_Click"></asp:LinkButton>
        </li>
    </ul>
    <asp:GridView ID="UserGrid" runat="server" AutoGenerateColumns="False" Caption="&lt;span&gt;分类列表&lt;/span&gt;"
        DataKeyNames="ID" OnRowDataBound="UserGrid_RowDataBound">
        <Columns>       
            <asp:TemplateField>
                <ItemStyle HorizontalAlign="Center" />
                <HeaderStyle Width="30px" />
                <ItemTemplate>
                    <asp:Label ID="ID" runat="server" ForeColor="#666666"></asp:Label>
                </ItemTemplate>
            </asp:TemplateField>
            <asp:TemplateField HeaderText="标题">
                <ItemTemplate>
                    <%# Eval("Caption")%>
                </ItemTemplate>
            </asp:TemplateField>
           
            <asp:TemplateField HeaderText="操作">
                <ItemTemplate>
                 <%# GetHref(Eval("ID").ToString())%>        
                 <%--<a href='QuestionNew2.aspx?ID=<%# Eval("ID") %>'>编辑</a>&nbsp;
                   <a href='ProblemList.aspx?ID=<%# Eval("ID") %>'>查看详细</a>--%>
                </ItemTemplate>
                <ItemStyle Width="120px" />
            </asp:TemplateField>
        </Columns>
        <RowStyle HorizontalAlign="Left" />
        <HeaderStyle HorizontalAlign="Left" />
    </asp:GridView>
 
    <uc1:ListPageContral ID="ListPageContral1" onpagesizechange="ListPageContral1_PageSizeChange"
        pagesize="15" runat="server" />
 
</asp:Content>
